import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import router from './router'
import store from './store'
import VueClipboard from 'vue-clipboard2'//点击按钮复制到粘贴板
import 'normalize.css/normalize.css' //初始化css样式
import preview from 'vue-photo-zoom-pro'
Vue.use(preview)
import { postRequest, getRequest, setRequest, baseUrl } from './api/http'
Vue.prototype.$baseUrl = baseUrl
Vue.prototype.$urlpc = 'http://171.15.132.38:1042/#/'
// Vue.prototype.$urlgw = 'http://shop.tbmcloud.com.cn/#/'
Vue.prototype.$urlgw = 'http://shop.tbmcloud.com.cn/'
Vue.prototype.$postRequest = postRequest
Vue.prototype.$getRequest = getRequest
Vue.prototype.$setRequest = setRequest
Vue.use(ElementUI);
Vue.use(VueClipboard)
Vue.config.productionTip = false
Vue.config.devtools = true
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
